package service;

import java.util.HashMap;

public class ControlCSConnectionThread {
    //管理CS连接 线程
    private static HashMap<String,ClientConnectServer> hashMap=new HashMap<>();
    public static void addCSThread(String id,ClientConnectServer clientConnectServer){
        hashMap.put(id,clientConnectServer);
    }
    public static ClientConnectServer getCSThread(String id){
        return hashMap.get(id);
    }
}
